/**
 * 
 */
package com.edocbase.biz.nodes;

import com.edocbase.biz.diary.entities.IDiary;
import com.edocbase.desktop.lightweight.nodes.DefaultTreeNode;

/**
 * @author X61
 *
 */
public class DiaryTreeNode extends DefaultTreeNode {
	private int type = 1;
	public DiaryTreeNode(IDiary value,int type) {
		super(value);
		this.type = type;
	}
	public IDiary getDiary(){
		return (IDiary) value;
	}
	public int getType() {
		return type;
	}
	public void setType(int type) {
		this.type = type;
	}

}
